# Generated from AntlrHelloSyntax.g4 by ANTLR 4.9.2
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
    from typing import TextIO
else:
    from typing.io import TextIO



def serializedATN():
    with StringIO() as buf:
        buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2!")
        buf.write("\u00cb\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7")
        buf.write("\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4\r\t\r")
        buf.write("\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22\4\23")
        buf.write("\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30")
        buf.write("\4\31\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36")
        buf.write("\t\36\4\37\t\37\4 \t \3\2\3\2\3\2\3\2\3\3\3\3\3\3\3\3")
        buf.write("\3\3\3\3\3\3\3\4\3\4\3\4\3\4\3\4\3\5\3\5\3\5\3\6\3\6\3")
        buf.write("\6\3\6\3\6\3\7\3\7\3\7\3\7\3\7\3\7\3\b\3\b\3\b\3\b\3\t")
        buf.write("\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3")
        buf.write("\n\3\13\3\13\3\13\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\f\3")
        buf.write("\r\3\r\3\r\3\r\3\16\3\16\3\16\3\17\3\17\3\17\7\17\u0088")
        buf.write("\n\17\f\17\16\17\u008b\13\17\5\17\u008d\n\17\3\20\3\20")
        buf.write("\7\20\u0091\n\20\f\20\16\20\u0094\13\20\3\20\3\20\3\21")
        buf.write("\3\21\3\22\3\22\3\23\3\23\3\24\3\24\3\25\3\25\3\26\3\26")
        buf.write("\3\27\3\27\3\27\3\30\3\30\3\30\3\31\3\31\3\31\3\32\3\32")
        buf.write("\3\33\3\33\3\34\3\34\3\35\3\35\7\35\u00b5\n\35\f\35\16")
        buf.write("\35\u00b8\13\35\3\36\3\36\3\37\6\37\u00bd\n\37\r\37\16")
        buf.write("\37\u00be\3\37\3\37\3 \3 \5 \u00c5\n \3 \5 \u00c8\n \3")
        buf.write(" \3 \3\u0092\2!\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23")
        buf.write("\13\25\f\27\r\31\16\33\17\35\20\37\21!\22#\23%\24\'\25")
        buf.write(")\26+\27-\30/\31\61\32\63\33\65\34\67\359\36;\37= ?!\3")
        buf.write("\2\7\3\2\63;\3\2\62;\4\2C\\c|\6\2\62;C\\aac|\4\2\13\13")
        buf.write("\"\"\2\u00d1\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3")
        buf.write("\2\2\2\2\13\3\2\2\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2")
        buf.write("\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2\2\31\3\2\2")
        buf.write("\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2")
        buf.write("#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2")
        buf.write("\2-\3\2\2\2\2/\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65")
        buf.write("\3\2\2\2\2\67\3\2\2\2\29\3\2\2\2\2;\3\2\2\2\2=\3\2\2\2")
        buf.write("\2?\3\2\2\2\3A\3\2\2\2\5E\3\2\2\2\7L\3\2\2\2\tQ\3\2\2")
        buf.write("\2\13T\3\2\2\2\rY\3\2\2\2\17_\3\2\2\2\21c\3\2\2\2\23i")
        buf.write("\3\2\2\2\25r\3\2\2\2\27w\3\2\2\2\31}\3\2\2\2\33\u0081")
        buf.write("\3\2\2\2\35\u008c\3\2\2\2\37\u008e\3\2\2\2!\u0097\3\2")
        buf.write("\2\2#\u0099\3\2\2\2%\u009b\3\2\2\2\'\u009d\3\2\2\2)\u009f")
        buf.write("\3\2\2\2+\u00a1\3\2\2\2-\u00a3\3\2\2\2/\u00a6\3\2\2\2")
        buf.write("\61\u00a9\3\2\2\2\63\u00ac\3\2\2\2\65\u00ae\3\2\2\2\67")
        buf.write("\u00b0\3\2\2\29\u00b2\3\2\2\2;\u00b9\3\2\2\2=\u00bc\3")
        buf.write("\2\2\2?\u00c7\3\2\2\2AB\7k\2\2BC\7p\2\2CD\7v\2\2D\4\3")
        buf.write("\2\2\2EF\7u\2\2FG\7v\2\2GH\7t\2\2HI\7k\2\2IJ\7p\2\2JK")
        buf.write("\7i\2\2K\6\3\2\2\2LM\7d\2\2MN\7q\2\2NO\7q\2\2OP\7n\2\2")
        buf.write("P\b\3\2\2\2QR\7k\2\2RS\7h\2\2S\n\3\2\2\2TU\7g\2\2UV\7")
        buf.write("n\2\2VW\7u\2\2WX\7g\2\2X\f\3\2\2\2YZ\7y\2\2Z[\7j\2\2[")
        buf.write("\\\7k\2\2\\]\7n\2\2]^\7g\2\2^\16\3\2\2\2_`\7h\2\2`a\7")
        buf.write("q\2\2ab\7t\2\2b\20\3\2\2\2cd\7d\2\2de\7t\2\2ef\7g\2\2")
        buf.write("fg\7c\2\2gh\7m\2\2h\22\3\2\2\2ij\7e\2\2jk\7q\2\2kl\7p")
        buf.write("\2\2lm\7v\2\2mn\7k\2\2no\7p\2\2op\7w\2\2pq\7g\2\2q\24")
        buf.write("\3\2\2\2rs\7v\2\2st\7t\2\2tu\7w\2\2uv\7g\2\2v\26\3\2\2")
        buf.write("\2wx\7h\2\2xy\7c\2\2yz\7n\2\2z{\7u\2\2{|\7g\2\2|\30\3")
        buf.write("\2\2\2}~\7c\2\2~\177\7p\2\2\177\u0080\7f\2\2\u0080\32")
        buf.write("\3\2\2\2\u0081\u0082\7q\2\2\u0082\u0083\7t\2\2\u0083\34")
        buf.write("\3\2\2\2\u0084\u008d\7\62\2\2\u0085\u0089\t\2\2\2\u0086")
        buf.write("\u0088\t\3\2\2\u0087\u0086\3\2\2\2\u0088\u008b\3\2\2\2")
        buf.write("\u0089\u0087\3\2\2\2\u0089\u008a\3\2\2\2\u008a\u008d\3")
        buf.write("\2\2\2\u008b\u0089\3\2\2\2\u008c\u0084\3\2\2\2\u008c\u0085")
        buf.write("\3\2\2\2\u008d\36\3\2\2\2\u008e\u0092\7$\2\2\u008f\u0091")
        buf.write("\13\2\2\2\u0090\u008f\3\2\2\2\u0091\u0094\3\2\2\2\u0092")
        buf.write("\u0093\3\2\2\2\u0092\u0090\3\2\2\2\u0093\u0095\3\2\2\2")
        buf.write("\u0094\u0092\3\2\2\2\u0095\u0096\7$\2\2\u0096 \3\2\2\2")
        buf.write("\u0097\u0098\7-\2\2\u0098\"\3\2\2\2\u0099\u009a\7/\2\2")
        buf.write("\u009a$\3\2\2\2\u009b\u009c\7,\2\2\u009c&\3\2\2\2\u009d")
        buf.write("\u009e\7\61\2\2\u009e(\3\2\2\2\u009f\u00a0\7@\2\2\u00a0")
        buf.write("*\3\2\2\2\u00a1\u00a2\7>\2\2\u00a2,\3\2\2\2\u00a3\u00a4")
        buf.write("\7?\2\2\u00a4\u00a5\7?\2\2\u00a5.\3\2\2\2\u00a6\u00a7")
        buf.write("\7@\2\2\u00a7\u00a8\7?\2\2\u00a8\60\3\2\2\2\u00a9\u00aa")
        buf.write("\7>\2\2\u00aa\u00ab\7?\2\2\u00ab\62\3\2\2\2\u00ac\u00ad")
        buf.write("\7=\2\2\u00ad\64\3\2\2\2\u00ae\u00af\7*\2\2\u00af\66\3")
        buf.write("\2\2\2\u00b0\u00b1\7+\2\2\u00b18\3\2\2\2\u00b2\u00b6\t")
        buf.write("\4\2\2\u00b3\u00b5\t\5\2\2\u00b4\u00b3\3\2\2\2\u00b5\u00b8")
        buf.write("\3\2\2\2\u00b6\u00b4\3\2\2\2\u00b6\u00b7\3\2\2\2\u00b7")
        buf.write(":\3\2\2\2\u00b8\u00b6\3\2\2\2\u00b9\u00ba\7?\2\2\u00ba")
        buf.write("<\3\2\2\2\u00bb\u00bd\t\6\2\2\u00bc\u00bb\3\2\2\2\u00bd")
        buf.write("\u00be\3\2\2\2\u00be\u00bc\3\2\2\2\u00be\u00bf\3\2\2\2")
        buf.write("\u00bf\u00c0\3\2\2\2\u00c0\u00c1\b\37\2\2\u00c1>\3\2\2")
        buf.write("\2\u00c2\u00c4\7\17\2\2\u00c3\u00c5\7\f\2\2\u00c4\u00c3")
        buf.write("\3\2\2\2\u00c4\u00c5\3\2\2\2\u00c5\u00c8\3\2\2\2\u00c6")
        buf.write("\u00c8\7\f\2\2\u00c7\u00c2\3\2\2\2\u00c7\u00c6\3\2\2\2")
        buf.write("\u00c8\u00c9\3\2\2\2\u00c9\u00ca\b \2\2\u00ca@\3\2\2\2")
        buf.write("\n\2\u0089\u008c\u0092\u00b6\u00be\u00c4\u00c7\3\b\2\2")
        return buf.getvalue()


class AntlrHelloSyntaxLexer(Lexer):

    atn = ATNDeserializer().deserialize(serializedATN())

    decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]

    Int = 1
    String = 2
    Bool = 3
    If = 4
    Else = 5
    While = 6
    For = 7
    Break = 8
    Continue = 9
    BTrue = 10
    BFalse = 11
    And = 12
    Or = 13
    IntLiteral = 14
    StringLiteral = 15
    Plus = 16
    Minus = 17
    Star = 18
    Slash = 19
    GT = 20
    LT = 21
    EQ = 22
    GE = 23
    LE = 24
    Semicolon = 25
    LeftParen = 26
    RightParen = 27
    Identifier = 28
    Assignment = 29
    WhiteSpace = 30
    NewLine = 31

    channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ]

    modeNames = [ "DEFAULT_MODE" ]

    literalNames = [ "<INVALID>",
            "'int'", "'string'", "'bool'", "'if'", "'else'", "'while'", 
            "'for'", "'break'", "'continue'", "'true'", "'false'", "'and'", 
            "'or'", "'+'", "'-'", "'*'", "'/'", "'>'", "'<'", "'=='", "'>='", 
            "'<='", "';'", "'('", "')'", "'='" ]

    symbolicNames = [ "<INVALID>",
            "Int", "String", "Bool", "If", "Else", "While", "For", "Break", 
            "Continue", "BTrue", "BFalse", "And", "Or", "IntLiteral", "StringLiteral", 
            "Plus", "Minus", "Star", "Slash", "GT", "LT", "EQ", "GE", "LE", 
            "Semicolon", "LeftParen", "RightParen", "Identifier", "Assignment", 
            "WhiteSpace", "NewLine" ]

    ruleNames = [ "Int", "String", "Bool", "If", "Else", "While", "For", 
                  "Break", "Continue", "BTrue", "BFalse", "And", "Or", "IntLiteral", 
                  "StringLiteral", "Plus", "Minus", "Star", "Slash", "GT", 
                  "LT", "EQ", "GE", "LE", "Semicolon", "LeftParen", "RightParen", 
                  "Identifier", "Assignment", "WhiteSpace", "NewLine" ]

    grammarFileName = "AntlrHelloSyntax.g4"

    def __init__(self, input=None, output:TextIO = sys.stdout):
        super().__init__(input, output)
        self.checkVersion("4.9.2")
        self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
        self._actions = None
        self._predicates = None


